#include<stdio.h>

int main()
{
    int lower, upper;
    double c = 0.0;
    scanf("%d %d", &lower, &upper);
    if(lower > 0 && upper >= lower && upper <= 100)
    {
        printf("fahr celsius\n");
        for(int i = lower; i <= upper; i += 2)
        {
            c = 5.0 * (i - 32) / 9;
            printf("%d%6.1f\n", i, c);
        }

    }
    else
    {
        printf("Invalid.");
    }
    
    
    return 0;
}